package com.moloon.game.sanguo.editor.propseditor;

import org.eclipse.jface.viewers.TreeViewer;

public class Context {
	static class SingletonHolder {
		static Context context = new Context(); 
	}
	
	private TreeViewer navigationTreeViewer;
	
	private Context() {
		
	}
	
	public static Context getInstance() {
		return SingletonHolder.context;
	}

	public TreeViewer getNavigationTreeViewer() {
		return navigationTreeViewer;
	}

	public void setNavigationTreeViewer(TreeViewer navigationTreeViewer) {
		this.navigationTreeViewer = navigationTreeViewer;
	}
}
